package cn.iocoder.yudao.module.common.controller.admin.favorites.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 收藏 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FavoritesRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7080")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23050")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "目标资源ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25608")
    @ExcelProperty("目标资源ID")
    private Long targetId;

    @Schema(description = "目标资源类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("目标资源类型")
    private String targetType;

    @Schema(description = "收藏时间")
    @ExcelProperty("收藏时间")
    private LocalDateTime favoriteTime;

    @Schema(description = "创建人", example = "赵六")
    @ExcelProperty("创建人")
    private String creatorName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人", example = "张三")
    @ExcelProperty("更新人")
    private String updaterName;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("版本号")
    private Integer version;

}